export interface Config {
  name: string,
  configKey: string,
  configValue: string
}

export interface Desc {
  avatar: string,
  nickname: string,
  technology: string,
  interest: string,
  motto: string,
  game: string
}

export interface Tag {
  tagId?: number,
  name?: string
}

export interface Article {
  articleId: number,
  title: string,
  summary: string,
  thumbnail: string,
  comments: number,
  views: number,
  tags: string | Tag[]
  createTime: string
}

export interface Page {
  current: number,
  size: number,
  total: number
}

export interface ArticlePage extends Page {
  records: Article[]
}

export interface Classify {
  classifyId: number,
  name: string,
  pid?: number
}

export interface Tree {
  value: number,
  label: string,
  children?: Tree[]
}

export interface BlogLog {
  blogEvent: string,
  blogEventDesc: string,
  createTime: string
}

export interface BlogLogPage extends Page {
  records: BlogLog[]
}

export interface Content {
  contentId: number,
  content: string
}

export interface Dynamic {
  dynamic: string;
  createTime: string;
}

export interface DynamicPage extends Page {
  records: Dynamic[]
}